
import * as types from './actionTypes';

export const getInputValue = (value) => ({
    type: types.HANDLE_INPUT_VALUE,
    value
});

export const getAddListItem = () => ({
    type: types.ADD_LIST_ITEM
});

export const deleteAddListItem = (index) => ({
    type: types.DELETE_LIST_ITEM,
    index
});